﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace Entities
{
	[TableName("Sach")]
	public class Sach:SachBao
	{
		[MapField("MaSachBao"), PrimaryKey]
		public override string MaSachBao { get; set; }
		[MapField("TenSachBao")]
		public override string TenSachBao { get; set; }
		[MapField("NhaXuatBan")]
		public override string NhaXuatBan { get; set; }
		[MapField("NgayXuatBan")]
		public override DateTime NgayXuatBan { get; set; }		
		[MapField("SoLanTaiBan")]
		public  int SoLanTaiBan { get; set; }
		[MapField("SoLuong")]
		public override int SoLuong { get; set; }
		[MapField("TacGia")]
		public string TacGia { get; set; }
		[MapField("TheLoai")]
		public string TheLoai { get; set; }	
		[MapField("GiaMua")]
		public override float GiaMua { get; set; }
		[MapField("GiaBan")]
		public override float GiaBan { get; set; }		
		[MapField("TinhTrang")]
		public string TinhTrang { get; set; }
	}
}
